/* ============================================
   HSO Corporate – Leistungen Page
   Extends hsocorporate.css (Sage / Cobalt / Shark)
   Prefix: lst-
   ============================================ */


/* ============================================
   REVEAL SYSTEM
   ============================================ */

[data-lst-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-lst-reveal].lst-visible {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================
   HERO (compact, dark, polished)
   ============================================ */

@keyframes lstFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes lstSlideLeft {
  from { opacity: 0; transform: translateX(-80px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes lstLineGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

@keyframes lstBgZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}

@keyframes lstScrollPulse {
  0%, 100% { transform: scaleY(1);   opacity: 0.4; }
  50%      { transform: scaleY(0.5); opacity: 1; }
}

@keyframes lstFloat {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(var(--tx, 40px), var(--ty, -40px)); }
}

.lst-hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lst-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.lst-hero__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  animation: lstBgZoom 12s ease-out forwards;
}

.lst-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(37, 44, 55, 0.45)  0%,
      rgba(37, 44, 55, 0.75) 60%,
      rgba(37, 44, 55, 0.92) 100%
    );
}

.lst-hero__overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 55% 45% at 50% 65%,
    rgba(193, 203, 184, 0.1) 0%,
    transparent 65%
  );
}

/* Particles */
.lst-hero__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.lst-hero__particle {
  position: absolute;
  border-radius: 50%;
  background: var(--sage);
  animation: lstFloat var(--dur, 10s) var(--del, 0s) ease-in-out infinite alternate;
  pointer-events: none;
}

/* Content */
.lst-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: clamp(7rem, 14vw, 11rem);
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
}

.lst-hero__label {
  display: inline-block;
  font-family: 'Thirsty Rough', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--sage);
  margin-bottom: 1.25rem;
  animation: lstFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.lst-hero__headline {
  font-family: 'Geared Slab', 'Roboto Slab', Georgia, serif;
  font-size: clamp(2.5rem, 5vw + 0.75rem, 4.5rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.06;
  margin-bottom: 1rem;
  animation: lstSlideLeft 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.lst-hero__headline em {
  font-family: 'Thirsty Rough', Georgia, serif;
  font-style: normal;
  font-weight: 700;
  color: var(--sage);
}

.lst-hero__subtitle {
  font-family: 'Lato', sans-serif;
  font-size: clamp(0.95rem, 1.1vw + 0.4rem, 1.15rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.75;
  max-width: 480px;
  margin-inline: auto;
  animation: lstFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

.lst-hero__line {
  width: 48px;
  height: 3px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 2px;
  margin: 1.75rem auto 0;
  transform-origin: center;
  animation: lstLineGrow 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both;
  opacity: 0.6;
}

/* Scroll indicator */
.lst-hero__scroll {
  position: absolute;
  bottom: 2rem;
  right: clamp(1.5rem, 4vw, 3rem);
  z-index: 3;
  opacity: 0.45;
  transition: opacity 0.3s;
}
.lst-hero__scroll:hover { opacity: 1; }

.lst-hero__scroll-line {
  width: 1px;
  height: 55px;
  background: linear-gradient(to bottom, transparent, var(--sage));
  animation: lstScrollPulse 2.5s ease-in-out infinite;
}


/* ============================================
   FEATURE CARDS
   ============================================ */

.lst-features {
  background: var(--white);
  padding-block: clamp(5rem, 9vw, 8rem);
}

.lst-features__header {
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
}

.lst-features__header .corp-section-intro {
  margin-inline: auto;
}

.lst-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.lst-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--off-white);
  border: 1px solid var(--shark-08);
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s;
}

.lst-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(37, 44, 55, 0.12);
  border-color: var(--sage-40);
}

.lst-card__image {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #d8d8d8;
  position: relative;
}

.lst-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.lst-card:hover .lst-card__image img { transform: scale(1.06); }

.lst-card__image-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(37,44,55,0.15) 0%, transparent 50%);
  transition: opacity 0.3s;
}
.lst-card:hover .lst-card__image-overlay { opacity: 0.6; }

.lst-card__image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #e0e0e0, #c8c8c8);
  z-index: 0;
}

.lst-card__body {
  padding: 1.5rem 1.5rem 1.75rem;
  position: relative;
}

.lst-card__number {
  display: none;
}

.lst-card__title {
  font-family: 'Lato', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--shark);
  margin-bottom: 0.55rem;
  line-height: 1.35;
  transition: color 0.25s;
}
.lst-card:hover .lst-card__title { color: var(--cobalt); }

.lst-card__text {
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  color: var(--shark-60);
  line-height: 1.7;
}


/* ============================================
   SCROLL SHOWCASE — Grow/Shrink Image Flow
   ============================================ */

.sc-wrap {
  height: 500vh;
  position: relative;
}

.sc {
  position: sticky;
  top: 0;
  height: 100vh;
  background: var(--shark, #252c37);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.sc__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 4vw, 3rem);
  height: 100%;
  align-items: center;
}

/* ---- Stage: holds all images absolutely ---- */
.sc__stage {
  position: relative;
  width: 100%;
  height: 72vh;
  max-height: 620px;
  overflow: visible;
}

.sc__image {
  position: absolute;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  will-change: transform, opacity;
  opacity: 0;
  z-index: 1;
  border: 3px solid transparent;
  transition: border-color 0.3s;
}

.sc__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sc__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(37, 44, 55, 0.2), transparent 50%);
  pointer-events: none;
  border-radius: inherit;
}

/* ---- Text panels ---- */
.sc__text {
  position: relative;
  min-height: 320px;
  padding-left: clamp(1.5rem, 3vw, 3rem);
}

.sc__panel {
  position: absolute;
  top: 50%;
  left: clamp(1.5rem, 3vw, 3rem);
  right: 0;
  transform: translateY(-50%) translateX(-80px);
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
}

.sc__panel--active {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
  pointer-events: auto;
}

.sc__panel--exit {
  opacity: 0;
  transform: translateY(-50%) translateX(80px);
}

.sc__tag {
  display: inline-block;
  font-family: 'Thirsty Rough', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--sage, #c1cbb8);
  margin-bottom: 1.25rem;
}

.sc__headline {
  font-family: 'Geared Slab', 'Roboto Slab', Georgia, serif;
  font-size: clamp(1.75rem, 2.5vw + 0.5rem, 2.75rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin-bottom: 1.25rem;
}

.sc__desc {
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.75;
  max-width: 400px;
  margin-bottom: 2rem;
}

.sc__btn {
  display: inline-flex;
  align-items: center;
  background: var(--sage, #c1cbb8);
  color: var(--shark, #252c37);
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.75rem 1.8rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sc__btn:hover {
  background: var(--cobalt, #2933ba);
  color: var(--white, #fff);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(41, 51, 186, 0.35);
}


/* ============================================
   PROZESS
   ============================================ */

.lst-prozess {
  background: var(--off-white);
  padding-block: clamp(5rem, 9vw, 8rem);
}

.lst-prozess__header {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.lst-prozess__intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: end;
}

.lst-prozess__headline {
  font-family: 'Geared Slab', 'Roboto Slab', Georgia, serif;
  font-size: clamp(1.75rem, 2.5vw + 0.5rem, 2.5rem);
  font-weight: 800;
  color: var(--shark);
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.lst-prozess__text {
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  color: var(--shark-60);
  line-height: 1.75;
}

.lst-prozess__track {
  position: relative;
  height: 3px;
  margin-bottom: 2rem;
  background: var(--shark-08);
  border-radius: 2px;
  overflow: hidden;
}

.lst-prozess__track-line {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--sage), var(--cobalt));
  border-radius: 2px;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.lst-prozess__track-line.lst-line-active { width: 100%; }

.lst-prozess__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.lst-prozess-step {
  padding: 2rem 1.5rem 1.75rem;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--shark-08);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s;
}

.lst-prozess-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(37, 44, 55, 0.1);
  border-color: var(--sage-40);
}

.lst-prozess-step::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sage), var(--cobalt));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.lst-prozess-step:hover::after { transform: scaleX(1); }

.lst-prozess-step__number {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--shark-08);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Geared Slab', 'Roboto Slab', Georgia, serif;
  font-size: 0.72rem; font-weight: 700;
  color: var(--shark-60);
  transition: background 0.3s, color 0.3s;
}
.lst-prozess-step:hover .lst-prozess-step__number {
  background: var(--cobalt); color: var(--white);
}

.lst-prozess-step__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--sage-20);
  display: flex; align-items: center; justify-content: center;
  color: var(--cobalt);
  margin-bottom: 1.2rem;
  transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s, transform 0.3s;
}
.lst-prozess-step:hover .lst-prozess-step__icon {
  background: var(--cobalt); color: var(--white); transform: scale(1.08);
}
.lst-prozess-step__icon svg { width: 22px; height: 22px; }

.lst-prozess-step__title {
  font-family: 'Lato', sans-serif;
  font-size: 0.92rem; font-weight: 700;
  color: var(--shark);
  margin-bottom: 0.5rem; line-height: 1.35;
}

.lst-prozess-step__text {
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  color: var(--shark-60);
  line-height: 1.7;
}


/* ============================================
   CLOSING CTA
   ============================================ */

.lst-cta {
  position: relative;
  padding-block: clamp(6rem, 11vw, 10rem);
  overflow: hidden;
}

.lst-cta__bg { position: absolute; inset: 0; z-index: 0; }

.lst-cta__bg-image {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
}

.lst-cta__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(37,44,55,0.7) 0%, rgba(37,44,55,0.9) 100%);
}

.lst-cta__overlay::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 45% at 50% 50%, rgba(193,203,184,0.08) 0%, transparent 70%);
}

.lst-cta__inner {
  position: relative; z-index: 1;
  text-align: center;
  max-width: 520px; margin-inline: auto;
}

.lst-cta__label {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 1rem;
}

.lst-cta__headline {
  font-family: 'Geared Slab', 'Roboto Slab', Georgia, serif;
  font-size: clamp(1.75rem, 3vw + 0.5rem, 2.75rem);
  font-weight: 800; color: var(--white);
  letter-spacing: -0.025em; line-height: 1.15;
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.lst-cta__text {
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem; color: rgba(255,255,255,0.75);
  line-height: 1.7; max-width: 420px;
  margin-inline: auto; margin-bottom: 2.25rem;
  text-shadow: 0 1px 10px rgba(0,0,0,0.15);
}

.lst-cta__actions {
  display: flex; gap: 0.85rem;
  justify-content: center; flex-wrap: wrap;
}


/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .lst-features__grid { grid-template-columns: repeat(2, 1fr); }
  .lst-prozess__grid { grid-template-columns: repeat(2, 1fr); }
  .lst-prozess__intro { grid-template-columns: 1fr; gap: 1rem; }
  .sc__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .lst-hero { min-height: 45vh; }
  .lst-hero__headline { font-size: clamp(2rem, 9vw, 3rem); }
  .lst-hero__scroll { display: none; }

  .lst-features__grid { grid-template-columns: 1fr; }

  .lst-prozess__grid { grid-template-columns: 1fr; }
  .lst-prozess__track { display: none; }

  .lst-cta__actions { flex-direction: column; }
  .lst-cta__actions .btn { width: 100%; justify-content: center; text-align: center; }

  /* Showcase mobile fallback */
  .sc-wrap { height: auto; }
  .sc { position: relative; height: auto; padding-block: 3rem; }
  .sc__inner { grid-template-columns: 1fr; height: auto; gap: 2rem; }
  .sc__stage { height: 280px; }
  .sc__text { min-height: auto; padding-left: 0; }
  .sc__panel { position: relative; top: auto; left: auto; transform: none; display: none; }
  .sc__panel--active { display: block; opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  [data-lst-reveal] {
    transition: none !important; opacity: 1 !important;
    transform: none !important; clip-path: none !important;
  }
  .lst-hero__label, .lst-hero__headline, .lst-hero__subtitle, .lst-hero__line {
    animation: none !important; opacity: 1 !important; transform: none !important;
  }
  .lst-hero__bg-image { animation: none; }
  .lst-hero__scroll-line { animation: none; }
  .lst-hero__particle { animation: none; }
  .lst-prozess__track-line { transition: none; width: 100%; }
  .sc__image, .sc__panel { transition: none !important; }
}